from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import GanttListViewSet, DetailViewSet

urlpatterns = [
    # path('', include(router.urls)),
    path('gantt', GanttListViewSet.as_view({'get': 'gantt'})),
    path('list', GanttListViewSet.as_view({'get': 'list'})),
    path('detail', DetailViewSet.as_view({'get': 'list'})),
    # path('projects', ZtProjectViewSet.as_view({'get': 'list'})),
    # path('projects/<int:project_id>', ZtProjectDetailViewSet.as_view({'get': 'list'})),
    # path('stats', ZtStatsViewSet.as_view({'get': 'list'}))
]